package org.example.sboot.entity;

import java.util.ArrayList;
import java.util.List;

public class CounlistExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CounlistExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * 
     * 
     * @author wcyong
     * 
     * @date 2021-06-10
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andExtra1IsNull() {
            addCriterion("extra_1 is null");
            return (Criteria) this;
        }

        public Criteria andExtra1IsNotNull() {
            addCriterion("extra_1 is not null");
            return (Criteria) this;
        }

        public Criteria andExtra1EqualTo(String value) {
            addCriterion("extra_1 =", value, "extra1");
            return (Criteria) this;
        }

        public Criteria andExtra1NotEqualTo(String value) {
            addCriterion("extra_1 <>", value, "extra1");
            return (Criteria) this;
        }

        public Criteria andExtra1GreaterThan(String value) {
            addCriterion("extra_1 >", value, "extra1");
            return (Criteria) this;
        }

        public Criteria andExtra1GreaterThanOrEqualTo(String value) {
            addCriterion("extra_1 >=", value, "extra1");
            return (Criteria) this;
        }

        public Criteria andExtra1LessThan(String value) {
            addCriterion("extra_1 <", value, "extra1");
            return (Criteria) this;
        }

        public Criteria andExtra1LessThanOrEqualTo(String value) {
            addCriterion("extra_1 <=", value, "extra1");
            return (Criteria) this;
        }

        public Criteria andExtra1Like(String value) {
            addCriterion("extra_1 like", value, "extra1");
            return (Criteria) this;
        }

        public Criteria andExtra1NotLike(String value) {
            addCriterion("extra_1 not like", value, "extra1");
            return (Criteria) this;
        }

        public Criteria andExtra1In(List<String> values) {
            addCriterion("extra_1 in", values, "extra1");
            return (Criteria) this;
        }

        public Criteria andExtra1NotIn(List<String> values) {
            addCriterion("extra_1 not in", values, "extra1");
            return (Criteria) this;
        }

        public Criteria andExtra1Between(String value1, String value2) {
            addCriterion("extra_1 between", value1, value2, "extra1");
            return (Criteria) this;
        }

        public Criteria andExtra1NotBetween(String value1, String value2) {
            addCriterion("extra_1 not between", value1, value2, "extra1");
            return (Criteria) this;
        }

        public Criteria andExtra2IsNull() {
            addCriterion("extra_2 is null");
            return (Criteria) this;
        }

        public Criteria andExtra2IsNotNull() {
            addCriterion("extra_2 is not null");
            return (Criteria) this;
        }

        public Criteria andExtra2EqualTo(String value) {
            addCriterion("extra_2 =", value, "extra2");
            return (Criteria) this;
        }

        public Criteria andExtra2NotEqualTo(String value) {
            addCriterion("extra_2 <>", value, "extra2");
            return (Criteria) this;
        }

        public Criteria andExtra2GreaterThan(String value) {
            addCriterion("extra_2 >", value, "extra2");
            return (Criteria) this;
        }

        public Criteria andExtra2GreaterThanOrEqualTo(String value) {
            addCriterion("extra_2 >=", value, "extra2");
            return (Criteria) this;
        }

        public Criteria andExtra2LessThan(String value) {
            addCriterion("extra_2 <", value, "extra2");
            return (Criteria) this;
        }

        public Criteria andExtra2LessThanOrEqualTo(String value) {
            addCriterion("extra_2 <=", value, "extra2");
            return (Criteria) this;
        }

        public Criteria andExtra2Like(String value) {
            addCriterion("extra_2 like", value, "extra2");
            return (Criteria) this;
        }

        public Criteria andExtra2NotLike(String value) {
            addCriterion("extra_2 not like", value, "extra2");
            return (Criteria) this;
        }

        public Criteria andExtra2In(List<String> values) {
            addCriterion("extra_2 in", values, "extra2");
            return (Criteria) this;
        }

        public Criteria andExtra2NotIn(List<String> values) {
            addCriterion("extra_2 not in", values, "extra2");
            return (Criteria) this;
        }

        public Criteria andExtra2Between(String value1, String value2) {
            addCriterion("extra_2 between", value1, value2, "extra2");
            return (Criteria) this;
        }

        public Criteria andExtra2NotBetween(String value1, String value2) {
            addCriterion("extra_2 not between", value1, value2, "extra2");
            return (Criteria) this;
        }

        public Criteria andExtra3IsNull() {
            addCriterion("extra_3 is null");
            return (Criteria) this;
        }

        public Criteria andExtra3IsNotNull() {
            addCriterion("extra_3 is not null");
            return (Criteria) this;
        }

        public Criteria andExtra3EqualTo(String value) {
            addCriterion("extra_3 =", value, "extra3");
            return (Criteria) this;
        }

        public Criteria andExtra3NotEqualTo(String value) {
            addCriterion("extra_3 <>", value, "extra3");
            return (Criteria) this;
        }

        public Criteria andExtra3GreaterThan(String value) {
            addCriterion("extra_3 >", value, "extra3");
            return (Criteria) this;
        }

        public Criteria andExtra3GreaterThanOrEqualTo(String value) {
            addCriterion("extra_3 >=", value, "extra3");
            return (Criteria) this;
        }

        public Criteria andExtra3LessThan(String value) {
            addCriterion("extra_3 <", value, "extra3");
            return (Criteria) this;
        }

        public Criteria andExtra3LessThanOrEqualTo(String value) {
            addCriterion("extra_3 <=", value, "extra3");
            return (Criteria) this;
        }

        public Criteria andExtra3Like(String value) {
            addCriterion("extra_3 like", value, "extra3");
            return (Criteria) this;
        }

        public Criteria andExtra3NotLike(String value) {
            addCriterion("extra_3 not like", value, "extra3");
            return (Criteria) this;
        }

        public Criteria andExtra3In(List<String> values) {
            addCriterion("extra_3 in", values, "extra3");
            return (Criteria) this;
        }

        public Criteria andExtra3NotIn(List<String> values) {
            addCriterion("extra_3 not in", values, "extra3");
            return (Criteria) this;
        }

        public Criteria andExtra3Between(String value1, String value2) {
            addCriterion("extra_3 between", value1, value2, "extra3");
            return (Criteria) this;
        }

        public Criteria andExtra3NotBetween(String value1, String value2) {
            addCriterion("extra_3 not between", value1, value2, "extra3");
            return (Criteria) this;
        }

        public Criteria andExtra4IsNull() {
            addCriterion("extra_4 is null");
            return (Criteria) this;
        }

        public Criteria andExtra4IsNotNull() {
            addCriterion("extra_4 is not null");
            return (Criteria) this;
        }

        public Criteria andExtra4EqualTo(String value) {
            addCriterion("extra_4 =", value, "extra4");
            return (Criteria) this;
        }

        public Criteria andExtra4NotEqualTo(String value) {
            addCriterion("extra_4 <>", value, "extra4");
            return (Criteria) this;
        }

        public Criteria andExtra4GreaterThan(String value) {
            addCriterion("extra_4 >", value, "extra4");
            return (Criteria) this;
        }

        public Criteria andExtra4GreaterThanOrEqualTo(String value) {
            addCriterion("extra_4 >=", value, "extra4");
            return (Criteria) this;
        }

        public Criteria andExtra4LessThan(String value) {
            addCriterion("extra_4 <", value, "extra4");
            return (Criteria) this;
        }

        public Criteria andExtra4LessThanOrEqualTo(String value) {
            addCriterion("extra_4 <=", value, "extra4");
            return (Criteria) this;
        }

        public Criteria andExtra4Like(String value) {
            addCriterion("extra_4 like", value, "extra4");
            return (Criteria) this;
        }

        public Criteria andExtra4NotLike(String value) {
            addCriterion("extra_4 not like", value, "extra4");
            return (Criteria) this;
        }

        public Criteria andExtra4In(List<String> values) {
            addCriterion("extra_4 in", values, "extra4");
            return (Criteria) this;
        }

        public Criteria andExtra4NotIn(List<String> values) {
            addCriterion("extra_4 not in", values, "extra4");
            return (Criteria) this;
        }

        public Criteria andExtra4Between(String value1, String value2) {
            addCriterion("extra_4 between", value1, value2, "extra4");
            return (Criteria) this;
        }

        public Criteria andExtra4NotBetween(String value1, String value2) {
            addCriterion("extra_4 not between", value1, value2, "extra4");
            return (Criteria) this;
        }

        public Criteria andExtra5IsNull() {
            addCriterion("extra_5 is null");
            return (Criteria) this;
        }

        public Criteria andExtra5IsNotNull() {
            addCriterion("extra_5 is not null");
            return (Criteria) this;
        }

        public Criteria andExtra5EqualTo(String value) {
            addCriterion("extra_5 =", value, "extra5");
            return (Criteria) this;
        }

        public Criteria andExtra5NotEqualTo(String value) {
            addCriterion("extra_5 <>", value, "extra5");
            return (Criteria) this;
        }

        public Criteria andExtra5GreaterThan(String value) {
            addCriterion("extra_5 >", value, "extra5");
            return (Criteria) this;
        }

        public Criteria andExtra5GreaterThanOrEqualTo(String value) {
            addCriterion("extra_5 >=", value, "extra5");
            return (Criteria) this;
        }

        public Criteria andExtra5LessThan(String value) {
            addCriterion("extra_5 <", value, "extra5");
            return (Criteria) this;
        }

        public Criteria andExtra5LessThanOrEqualTo(String value) {
            addCriterion("extra_5 <=", value, "extra5");
            return (Criteria) this;
        }

        public Criteria andExtra5Like(String value) {
            addCriterion("extra_5 like", value, "extra5");
            return (Criteria) this;
        }

        public Criteria andExtra5NotLike(String value) {
            addCriterion("extra_5 not like", value, "extra5");
            return (Criteria) this;
        }

        public Criteria andExtra5In(List<String> values) {
            addCriterion("extra_5 in", values, "extra5");
            return (Criteria) this;
        }

        public Criteria andExtra5NotIn(List<String> values) {
            addCriterion("extra_5 not in", values, "extra5");
            return (Criteria) this;
        }

        public Criteria andExtra5Between(String value1, String value2) {
            addCriterion("extra_5 between", value1, value2, "extra5");
            return (Criteria) this;
        }

        public Criteria andExtra5NotBetween(String value1, String value2) {
            addCriterion("extra_5 not between", value1, value2, "extra5");
            return (Criteria) this;
        }

        public Criteria andExtra6IsNull() {
            addCriterion("extra_6 is null");
            return (Criteria) this;
        }

        public Criteria andExtra6IsNotNull() {
            addCriterion("extra_6 is not null");
            return (Criteria) this;
        }

        public Criteria andExtra6EqualTo(String value) {
            addCriterion("extra_6 =", value, "extra6");
            return (Criteria) this;
        }

        public Criteria andExtra6NotEqualTo(String value) {
            addCriterion("extra_6 <>", value, "extra6");
            return (Criteria) this;
        }

        public Criteria andExtra6GreaterThan(String value) {
            addCriterion("extra_6 >", value, "extra6");
            return (Criteria) this;
        }

        public Criteria andExtra6GreaterThanOrEqualTo(String value) {
            addCriterion("extra_6 >=", value, "extra6");
            return (Criteria) this;
        }

        public Criteria andExtra6LessThan(String value) {
            addCriterion("extra_6 <", value, "extra6");
            return (Criteria) this;
        }

        public Criteria andExtra6LessThanOrEqualTo(String value) {
            addCriterion("extra_6 <=", value, "extra6");
            return (Criteria) this;
        }

        public Criteria andExtra6Like(String value) {
            addCriterion("extra_6 like", value, "extra6");
            return (Criteria) this;
        }

        public Criteria andExtra6NotLike(String value) {
            addCriterion("extra_6 not like", value, "extra6");
            return (Criteria) this;
        }

        public Criteria andExtra6In(List<String> values) {
            addCriterion("extra_6 in", values, "extra6");
            return (Criteria) this;
        }

        public Criteria andExtra6NotIn(List<String> values) {
            addCriterion("extra_6 not in", values, "extra6");
            return (Criteria) this;
        }

        public Criteria andExtra6Between(String value1, String value2) {
            addCriterion("extra_6 between", value1, value2, "extra6");
            return (Criteria) this;
        }

        public Criteria andExtra6NotBetween(String value1, String value2) {
            addCriterion("extra_6 not between", value1, value2, "extra6");
            return (Criteria) this;
        }

        public Criteria andExtra7IsNull() {
            addCriterion("extra_7 is null");
            return (Criteria) this;
        }

        public Criteria andExtra7IsNotNull() {
            addCriterion("extra_7 is not null");
            return (Criteria) this;
        }

        public Criteria andExtra7EqualTo(String value) {
            addCriterion("extra_7 =", value, "extra7");
            return (Criteria) this;
        }

        public Criteria andExtra7NotEqualTo(String value) {
            addCriterion("extra_7 <>", value, "extra7");
            return (Criteria) this;
        }

        public Criteria andExtra7GreaterThan(String value) {
            addCriterion("extra_7 >", value, "extra7");
            return (Criteria) this;
        }

        public Criteria andExtra7GreaterThanOrEqualTo(String value) {
            addCriterion("extra_7 >=", value, "extra7");
            return (Criteria) this;
        }

        public Criteria andExtra7LessThan(String value) {
            addCriterion("extra_7 <", value, "extra7");
            return (Criteria) this;
        }

        public Criteria andExtra7LessThanOrEqualTo(String value) {
            addCriterion("extra_7 <=", value, "extra7");
            return (Criteria) this;
        }

        public Criteria andExtra7Like(String value) {
            addCriterion("extra_7 like", value, "extra7");
            return (Criteria) this;
        }

        public Criteria andExtra7NotLike(String value) {
            addCriterion("extra_7 not like", value, "extra7");
            return (Criteria) this;
        }

        public Criteria andExtra7In(List<String> values) {
            addCriterion("extra_7 in", values, "extra7");
            return (Criteria) this;
        }

        public Criteria andExtra7NotIn(List<String> values) {
            addCriterion("extra_7 not in", values, "extra7");
            return (Criteria) this;
        }

        public Criteria andExtra7Between(String value1, String value2) {
            addCriterion("extra_7 between", value1, value2, "extra7");
            return (Criteria) this;
        }

        public Criteria andExtra7NotBetween(String value1, String value2) {
            addCriterion("extra_7 not between", value1, value2, "extra7");
            return (Criteria) this;
        }

        public Criteria andExtra8IsNull() {
            addCriterion("extra_8 is null");
            return (Criteria) this;
        }

        public Criteria andExtra8IsNotNull() {
            addCriterion("extra_8 is not null");
            return (Criteria) this;
        }

        public Criteria andExtra8EqualTo(String value) {
            addCriterion("extra_8 =", value, "extra8");
            return (Criteria) this;
        }

        public Criteria andExtra8NotEqualTo(String value) {
            addCriterion("extra_8 <>", value, "extra8");
            return (Criteria) this;
        }

        public Criteria andExtra8GreaterThan(String value) {
            addCriterion("extra_8 >", value, "extra8");
            return (Criteria) this;
        }

        public Criteria andExtra8GreaterThanOrEqualTo(String value) {
            addCriterion("extra_8 >=", value, "extra8");
            return (Criteria) this;
        }

        public Criteria andExtra8LessThan(String value) {
            addCriterion("extra_8 <", value, "extra8");
            return (Criteria) this;
        }

        public Criteria andExtra8LessThanOrEqualTo(String value) {
            addCriterion("extra_8 <=", value, "extra8");
            return (Criteria) this;
        }

        public Criteria andExtra8Like(String value) {
            addCriterion("extra_8 like", value, "extra8");
            return (Criteria) this;
        }

        public Criteria andExtra8NotLike(String value) {
            addCriterion("extra_8 not like", value, "extra8");
            return (Criteria) this;
        }

        public Criteria andExtra8In(List<String> values) {
            addCriterion("extra_8 in", values, "extra8");
            return (Criteria) this;
        }

        public Criteria andExtra8NotIn(List<String> values) {
            addCriterion("extra_8 not in", values, "extra8");
            return (Criteria) this;
        }

        public Criteria andExtra8Between(String value1, String value2) {
            addCriterion("extra_8 between", value1, value2, "extra8");
            return (Criteria) this;
        }

        public Criteria andExtra8NotBetween(String value1, String value2) {
            addCriterion("extra_8 not between", value1, value2, "extra8");
            return (Criteria) this;
        }

        public Criteria andExtra9IsNull() {
            addCriterion("extra_9 is null");
            return (Criteria) this;
        }

        public Criteria andExtra9IsNotNull() {
            addCriterion("extra_9 is not null");
            return (Criteria) this;
        }

        public Criteria andExtra9EqualTo(String value) {
            addCriterion("extra_9 =", value, "extra9");
            return (Criteria) this;
        }

        public Criteria andExtra9NotEqualTo(String value) {
            addCriterion("extra_9 <>", value, "extra9");
            return (Criteria) this;
        }

        public Criteria andExtra9GreaterThan(String value) {
            addCriterion("extra_9 >", value, "extra9");
            return (Criteria) this;
        }

        public Criteria andExtra9GreaterThanOrEqualTo(String value) {
            addCriterion("extra_9 >=", value, "extra9");
            return (Criteria) this;
        }

        public Criteria andExtra9LessThan(String value) {
            addCriterion("extra_9 <", value, "extra9");
            return (Criteria) this;
        }

        public Criteria andExtra9LessThanOrEqualTo(String value) {
            addCriterion("extra_9 <=", value, "extra9");
            return (Criteria) this;
        }

        public Criteria andExtra9Like(String value) {
            addCriterion("extra_9 like", value, "extra9");
            return (Criteria) this;
        }

        public Criteria andExtra9NotLike(String value) {
            addCriterion("extra_9 not like", value, "extra9");
            return (Criteria) this;
        }

        public Criteria andExtra9In(List<String> values) {
            addCriterion("extra_9 in", values, "extra9");
            return (Criteria) this;
        }

        public Criteria andExtra9NotIn(List<String> values) {
            addCriterion("extra_9 not in", values, "extra9");
            return (Criteria) this;
        }

        public Criteria andExtra9Between(String value1, String value2) {
            addCriterion("extra_9 between", value1, value2, "extra9");
            return (Criteria) this;
        }

        public Criteria andExtra9NotBetween(String value1, String value2) {
            addCriterion("extra_9 not between", value1, value2, "extra9");
            return (Criteria) this;
        }

        public Criteria andExtra10IsNull() {
            addCriterion("extra_10 is null");
            return (Criteria) this;
        }

        public Criteria andExtra10IsNotNull() {
            addCriterion("extra_10 is not null");
            return (Criteria) this;
        }

        public Criteria andExtra10EqualTo(String value) {
            addCriterion("extra_10 =", value, "extra10");
            return (Criteria) this;
        }

        public Criteria andExtra10NotEqualTo(String value) {
            addCriterion("extra_10 <>", value, "extra10");
            return (Criteria) this;
        }

        public Criteria andExtra10GreaterThan(String value) {
            addCriterion("extra_10 >", value, "extra10");
            return (Criteria) this;
        }

        public Criteria andExtra10GreaterThanOrEqualTo(String value) {
            addCriterion("extra_10 >=", value, "extra10");
            return (Criteria) this;
        }

        public Criteria andExtra10LessThan(String value) {
            addCriterion("extra_10 <", value, "extra10");
            return (Criteria) this;
        }

        public Criteria andExtra10LessThanOrEqualTo(String value) {
            addCriterion("extra_10 <=", value, "extra10");
            return (Criteria) this;
        }

        public Criteria andExtra10Like(String value) {
            addCriterion("extra_10 like", value, "extra10");
            return (Criteria) this;
        }

        public Criteria andExtra10NotLike(String value) {
            addCriterion("extra_10 not like", value, "extra10");
            return (Criteria) this;
        }

        public Criteria andExtra10In(List<String> values) {
            addCriterion("extra_10 in", values, "extra10");
            return (Criteria) this;
        }

        public Criteria andExtra10NotIn(List<String> values) {
            addCriterion("extra_10 not in", values, "extra10");
            return (Criteria) this;
        }

        public Criteria andExtra10Between(String value1, String value2) {
            addCriterion("extra_10 between", value1, value2, "extra10");
            return (Criteria) this;
        }

        public Criteria andExtra10NotBetween(String value1, String value2) {
            addCriterion("extra_10 not between", value1, value2, "extra10");
            return (Criteria) this;
        }

        public Criteria andExtra11IsNull() {
            addCriterion("extra_11 is null");
            return (Criteria) this;
        }

        public Criteria andExtra11IsNotNull() {
            addCriterion("extra_11 is not null");
            return (Criteria) this;
        }

        public Criteria andExtra11EqualTo(String value) {
            addCriterion("extra_11 =", value, "extra11");
            return (Criteria) this;
        }

        public Criteria andExtra11NotEqualTo(String value) {
            addCriterion("extra_11 <>", value, "extra11");
            return (Criteria) this;
        }

        public Criteria andExtra11GreaterThan(String value) {
            addCriterion("extra_11 >", value, "extra11");
            return (Criteria) this;
        }

        public Criteria andExtra11GreaterThanOrEqualTo(String value) {
            addCriterion("extra_11 >=", value, "extra11");
            return (Criteria) this;
        }

        public Criteria andExtra11LessThan(String value) {
            addCriterion("extra_11 <", value, "extra11");
            return (Criteria) this;
        }

        public Criteria andExtra11LessThanOrEqualTo(String value) {
            addCriterion("extra_11 <=", value, "extra11");
            return (Criteria) this;
        }

        public Criteria andExtra11Like(String value) {
            addCriterion("extra_11 like", value, "extra11");
            return (Criteria) this;
        }

        public Criteria andExtra11NotLike(String value) {
            addCriterion("extra_11 not like", value, "extra11");
            return (Criteria) this;
        }

        public Criteria andExtra11In(List<String> values) {
            addCriterion("extra_11 in", values, "extra11");
            return (Criteria) this;
        }

        public Criteria andExtra11NotIn(List<String> values) {
            addCriterion("extra_11 not in", values, "extra11");
            return (Criteria) this;
        }

        public Criteria andExtra11Between(String value1, String value2) {
            addCriterion("extra_11 between", value1, value2, "extra11");
            return (Criteria) this;
        }

        public Criteria andExtra11NotBetween(String value1, String value2) {
            addCriterion("extra_11 not between", value1, value2, "extra11");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * 
     * 
     * @author wcyong
     * 
     * @date 2021-06-10
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}